h1,#dialog-box h1{
    margin:8px 15px;
    padding:4px 12px;
    font-size:22px;
    color:#575757;
    border-bottom: 1px solid #EFEFEF;
}

#form-container{
    width:600px;
    margin:0 auto;
}

#dynamic-form{
    width:600px;
    padding:10px;
    min-height:400px;
}

div.rqrd{
    font-size:12px;
    color:#B01717;
    margin-left:2px;
    display: inline;
}


form{
    color:#575757;
    font: 13px/1.3em Arial,Sans-Serif;
}

input, select, textarea{
    width:300px;
    height:22px;
    padding:2px 5px;
    border:1px solid;
    background: none repeat scroll 0 0 #FFFFFF;
    border-color: #D8E0E3;
    border-radius: 4px 4px 4px 4px;
    color: #9A9DA1;
    font-family: 'Lucida Grande', sans-serif;
    /*corner*/
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

textarea{
    height:60px;
    resize:none;
}

select{
    height:25px;
}

.row{
   margin:5px 8px;
   padding: 5px 10px 8px;
   width:400px;
   cursor:move;
   position: relative;
   border-radius:5px;
}

.selected{
    border:1px dashed #000;
    cursor:pointer;
    padding: 4px 9px 7px;
}

.current{
    background: none repeat scroll 0 0 #DFEFFC;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

input.checkbox, input.radio{
    width:15px;
    margin:0 10px 0 0;
    height:15px;
}

input.error, textarea.error{
    border-color: #FAD0D0 !important;
    box-shadow: 0 0 3px 0 rgba(176, 23, 23, 0.4);
    color: #B01717 !important;
}

label.error{
    color: #B01717;
    text-transform:none;
}


input[type="text"]:hover,  input[type="password"]:hover,  input[type="file"]:hover,  textarea:hover,  select:hover {
    color:#444444;
    background: #fff none;
    border-color:#c6c6c6;
}
input[type="text"]:focus,  input[type="password"]:focus,  input[type="file"]:focus,  textarea:focus,  select:focus  {
    color:#444444;
    background: #fff none;
    border-color:#659ec9 #70aedd #a8cfec;
    outline: 0;
}

.button {
    display: inline-block;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    line-height: 100px;
    font-size: 14px/100% Arial, Helvetica, sans-serif;
    padding: .5em 2em .55em;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    -webkit-border-radius: .5em; 
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    text-shadow: 0px 0.5px 0.5px #4d4d4d;
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
    text-decoration: none;
}
.button:active {
    position: relative;
    top: 1px;
}

.blue {
    color: #d9eef7;
    border: solid 1px #0076a3;
    background: #0095cd;
    background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
    background: -moz-linear-gradient(top,  #00adee,  #0078a5);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
}
.blue:hover {
    background: #007ead;
    background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
    background: -moz-linear-gradient(top,  #0095cc,  #00678e);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0095cc', endColorstr='#00678e');
}
.blue:active {
    color: #80bed6;
    background: -webkit-gradient(linear, left top, left bottom, from(#0078a5), to(#00adee));
    background: -moz-linear-gradient(top,  #0078a5,  #00adee);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0078a5', endColorstr='#00adee');
}